import { Request } from 'express';
import { req_info_type } from '../../../Classes/cla_req_info_type';

const req_info_remove_typeTag = 'req_info_remove_type';

/**
 * 添加 的 类型 组
 */
export const prop_remove_type_arr = 'remove_type_arr';

export class req_info_remove_type extends req_info_type {
  get [Symbol.toStringTag]() {
    return req_info_remove_typeTag;
  }

  constructor(req: Request) {
    super(req);

    let req_body = req.body;

    this[prop_remove_type_arr] = req_body[prop_remove_type_arr];
  }

  [prop_remove_type_arr]: string[];
}
